.register {
    width: 100%;
    height: 100%;
    padding: 0 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}
.register-title {
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: 600;
    color: #333;
}
.register-form {
    width: 100%;
}
.register-form .el-form-item__label{
    display: inline-block;
    text-align: justify;
    text-align-last: justify;
    position: relative;
    padding-left: 5px;
    box-sizing: border-box;
    height: var(--el-input-inner-height);
    line-height: var(--el-input-inner-height);
}
.register-form .el-form-item__label::after {
    content: '';
    display: inline-block;
    width: 100%;
}
.register-form .el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label::before {
  content: none !important; /* 移除默认星号 */
}
.register-form .el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label::after {
  content: "*";
  position: absolute;
  left: -5px; /* 调整星号位置 */
  top: 50%;
  transform: translateY(-50%);
  color: var(--el-color-danger); /* 使用Element Plus危险色 */
  font-size: 14px;
  width: auto !important; /* 覆盖伪元素宽度 */
  display: inline !important; /* 覆盖伪元素显示方式 */
}
.register-form .el-form-item__content {
    flex-wrap: nowrap;
}
.register-tips{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.register-btns{
    width: 100%;
    display: flex;
    margin-bottom: 10px;
}
.register-btns > .el-button {
    flex-grow: 1;
    height: var(--el-input-inner-height);
}